<?php 
session_start();
include_once 'fckeditor/fckeditor.php';
include_once 'admin_core/utils/Function.php';
include_once 'admin_core/models/LiuYan.php';
include_once 'admin_core/services/LiuYanService.php';
$sBasePath = $_SERVER['PHP_SELF'];
$sBasePath = dirname($sBasePath).'/fckeditor/';
$ed=new FCKeditor('hf');
$ed->BasePath=$sBasePath;
$ed->Height=300;
$ed->Width='100%';
$lyId =$_GET['lyId'];
$lyService = new LiuYanServie();
$ly = $lyService->getLiuYanById($lyId);
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>提交作业</title>
<style type="text/css">
img{
	border:0px;}
</style>
 <link href="uploadify/uploadify.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" src="uploadify/jquery-1.4.2.min.js"></script>
<script type="text/javascript" src="uploadify/swfobject.js"></script>
<script type="text/javascript" src="uploadify/jquery.uploadify.v2.1.4.min.js"></script>
<script type="text/javascript"  src="js/comment.js"></script>
<style type="text/css">
table
{
	border:1px #06C solid;
	border-collapse:collapse;
	}
	td{
		border:1px #06C solid;
		}
</style>

</head>

<body>
<center>
<fieldset style="width:1110px;">
<legend><img src="images/311.gif"/>&nbsp;<span style="color:#333; font-size:15px; font-weight:bold; ">回复留言</span></legend>
<div style="width:99% ; height:20px;  font-size:16px; color:#999;font-weight:bold; margin-top:5px; margin-bottom:5px; line-height:20px; text-align:left; padding-left:60px;">留言内容：</div>

<table width="90%">
<tr>
<td width="15%" style="text-align:right; font-size:14px; color:#09C;">留言主题：</td>
<td align="left" style="font-size:14px; color:#09C; padding-left:5px;">
<?php echo $ly->getLy_title();?>

</td>
</tr>

<tr>
<td width="15%" style="text-align:right; font-size:14px; color:#09C;">留言内容：</td>
<td align="left" style="font-size:14px; color:#09C;">
<div style="padding:5px; height:200px; width:700px;overflow:auto; ">
<?php 
echo $ly->getLy_content();
?>
</div>
</td>
</tr>

</table>
<div style="width:99% ; height:20px;  font-size:16px; color:#999;font-weight:bold; margin-top:5px; margin-bottom:5px; line-height:20px; text-align:left; padding-left:120px;">回复：</div>
<form action="admin_core/controlLs.php?action=addHF" id="lyForm" method="post">
<table width="90%" style="border:0px;">



<tr id="py">
<td width="10%" style="text-align:right; font-size:14px; color:#09C; border:0px;">回复内容：</td>
<td align="left" style="font-size:14px; color:#09C; border:0px;">
<input name="lyId" type="hidden" value="<?php echo $ly->getLy_id();?>"/>
<?php 
$ed->Create();
?>
</td>
</tr>
<tr>
<td width="10%" style="text-align:right; font-size:14px; color:#09C; border:0px;"></td>
<td align="left" style="font-size:14px; color:#09C; border:0px;"><input type="submit" value=" 回 复  "    id="submitid"  onmousemove="changeButton(this,'url(images/61.gif)','#fff')" style="background-image:url(images/40.gif); width:65px; height:23px; border:0px; " onmouseout="changeButton(this,'url(images/40.gif)','#09C')" />
<input type="button" value=" 重 置  " onclick="reDo()"  onmousemove="changeButton(this,'url(images/61.gif)','#fff')" style="background-image:url(images/40.gif); width:65px; height:23px; border:0px; " onmouseout="changeButton(this,'url(images/40.gif)','#09C')" /></td>
</tr>
</table>
</form>
</fieldset>
</center>
</body>
</html>
